[IT] API Options

Monday, 07 June 2021 12:23:08
Total Iterations

1

Total Assertions

11

Total Failed Tests

3

Total Skipped Tests

0


File Information
Collection: [IT] API Options
Environment: Nightlies
Collection Description
``` Feature: options It's a scenario which check if options call asked by the mobile is correctly returned Scenario: Get options in logged off mode and Not russian Scenario: Get options in logged off mode and russian ```
Timings and Data
Total run duration: 12.6s
Total data received: 2.76KB
Average response time: 6.2s
Summary Item Total Failed
Requests 2 0
Prerequest Scripts 4 0
Test Scripts 4 0
Assertions 11 3
Skipped Tests 0 -



Showing 3 Failures

Failed Test: Logged off user should no get availability_types

Assertion Error Message
expected undefined to deeply equal null
Failed Test: Logged off user should get achievement types

Assertion Error Message
Cannot read property 'map' of null
Failed Test: Logged off user should have last tos version

Assertion Error Message
expected null to not deeply equal null


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api/
Response Information
Response Code: 200 - OK
Mean time per request: 5.2s
Mean size per request: 1.2KB

Test Pass Percentage
70 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Accept-Language en-US
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token e42bcb66-4ac1-4f54-ac36-e88cf911099c
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Content-Length 1229
Date Mon, 07 Jun 2021 12:23:01 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Accept-Ranges bytes
Connection keep-alive
Response Body
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"vk":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"10407","name":"Underage","description":"Underage","level":5},{"id":"10406","name":"Inappropriate picture","description":"Inappropriate picture","level":4},{"id":"10403","name":"Fake profile","description":"Fake profile","level":1},{"id":"10405","name":"Scam","description":"Scam","level":4},{"id":"10404","name":"Bad behavior","description":"Bad behavior","level":1},{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Video call: bad behavior","description":"Video call: bad behavior","level":4},{"id":"10408","name":"Commercial profile","description":"Commercial profile","level":3}],"achievement_types":null,"last_tos_version":null,"last_cookie_v1_version":null,"last_cookie_v2_version":null,"last_cookie_v3_version":null,"ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
Test Information
NamePassedFailedSkipped
Logged off user should no get availability_types 0 1 0
Logged off user should get report types 1 0 0
Logged off user should get achievement types 0 1 0
Logged off user should have shop_template value 1 1 0 0
Logged off user should not have ads inventory 1 0 0
Logged off user should not have have crush time configuration 1 0 0
Logged off user should not have have timeline configuration 1 0 0
Logged off user should have last tos version 0 1 0
Logged off user should have charms_sent enabled 1 0 0
Logged off user should have appropriate sso options 1 0 0
Total 7 3 0
Test Failures
Test NameAssertion Error
Logged off user should no get availability_types
expected undefined to deeply equal null
Logged off user should get achievement types
Cannot read property 'map' of null
Logged off user should have last tos version
expected null to not deeply equal null
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api/
Response Information
Response Code: 200 - OK
Mean time per request: 7.2s
Mean size per request: 1.56KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Accept-Language ru-RU
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 873900b0-39d8-4e32-9126-3d94fd55c34b
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Content-Length 1597
Date Mon, 07 Jun 2021 12:23:08 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Accept-Ranges bytes
Connection keep-alive
Response Body
{"status":200,"data":{"sso":{"facebook":{"enable":true},"google":{"enable":false},"vk":{"enable":false},"password":{"enable":true},"sms":{"enable":false,"country_codes":["FR","US","CA","DK","NO","BE","PL"]}},"report_types":[{"id":"10407","name":"Несовершеннолетний","description":"Несовершеннолетний","level":5},{"id":"10403","name":"Поддельный профиль","description":"Поддельный профиль","level":1},{"id":"10404","name":"Ненадлежащее поведение","description":"Ненадлежащее поведение","level":1},{"id":"10405","name":"Мошенничество","description":"Мошенничество","level":4},{"id":"b30b1e25-1aa6-4eae-8119-54acf52887fd","name":"Видеозвонок: ненадлежащее поведение","description":"Видеозвонок: ненадлежащее поведение","level":4},{"id":"10408","name":"Коммерческий профиль","description":"Коммерческий профиль","level":3},{"id":"10406","name":"Неуместная картинка","description":"Неуместная картинка","level":4}],"achievement_types":null,"last_tos_version":null,"last_cookie_v1_version":null,"last_cookie_v2_version":null,"last_cookie_v3_version":null,"ads_inventory":null,"shop_template":1,"shop":[],"crush_time":null,"charms_sent":{"enable":true},"timeline":null,"has_pending_likes":{"enable":false},"force_update":{},"cookie_version_enabled":false,"app_tracking_transparency_enabled":false},"success":true,"error_code":0}
Test Information
NamePassedFailedSkipped
Logged off user should have appropriate sso options 1 0 0
Total 1 0 0
Test Failure
Test NameAssertion Error